export default [{
	path: '/login',
	name: 'login',
	meta: {
		title: '登录',
		isLogin: false
	},
	component: resolve => require(['@/page/common/login'], resolve),
}, {
	path: '/regist',
	name: 'regist',
	meta: {
		title: '注册',
		isLogin: false
	},
	component: resolve => require(['@/page/common/regist'], resolve),
}, {
	path: '/forgetpwd',
	name: 'forgetpwd',
	meta: {
		title: '忘记密码',
		isLogin: false
	},
	component: resolve => require(['@/page/common/forgetpwd'], resolve),
},{
	path: '/spellorder',
	name: 'spellorder',
	meta: {
		title: '拼单',
		isLogin: false
	},
	component: resolve => require(['@/page/spellorder/index'], resolve),
}, {
	path: '/spellorderdetail',
	name: 'spellorderdetail',
	meta: {
		title: '拼单详情',
		isLogin: false
	},
	component: resolve => require(['@/page/spellorder/detail'], resolve),
},{
	path: '/center',
	name: 'center',
	meta: {
		title: '个人中心',
		isLogin: true
	},
	component: resolve => require(['@/page/center/index'], resolve),
	children: [{

		path: '/marks',
		name: 'marks',
		meta: {
			title: '我的标的',
			isLogin: true
		},
		component: resolve => require(['@/page/marks/marks'], resolve),

	}, {
		path: '/releasemark',
		name: 'releasemark',
		meta: {
			title: '发标',
			isLogin: true
		},
		component: resolve => require(['@/page/marks/releasemark'], resolve),
	}, {
		path: '/marks/markdetail',
		name: 'markdetail',
		meta: {
			title: '标的详情',
			isLogin: true
		},
		component: resolve => require(['@/page/marks/markdetail'], resolve),
	}, {
		path: '/address',
		name: 'address',
		meta: {
			title: '地址管理',
			isLogin: true
		},
		component: resolve => require(['@/page/common/address'], resolve),
	}, {
		path: '/userinfo',
		name: 'userinfo',
		meta: {
			title: '个人资料',
			isLogin: true
		},
		component: resolve => require(['@/page/common/userinfo'], resolve),
	},{
		path: '/update',
		name: 'update',
		meta: {
			title: '升级为企业买家',
			isLogin: true
		},
		component: resolve => require(['@/page/common/update'], resolve),
	}, {
		path: '/orders',
		name: 'orders',
		meta: {
			title: '订单管理',
			isLogin: true
		},
		component: resolve => require(['@/page/orders/orders'], resolve),
	}, {
		path: '/orders/detail',
		name: 'ordersdetail',
		meta: {
			title: '订单详情',
			isLogin: true
		},
		component: resolve => require(['@/page/orders/orderdetail'], resolve),
	}, {
		path: '/footmark',
		name: 'footmark',
		meta: {
			title: '我的足迹',
			isLogin: true
		},
		component: resolve => require(['@/page/common/footmark'], resolve),
	}, {
		path: '/collect',
		name: 'collect',
		meta: {
			title: '我的收藏',
			isLogin: true
		},
		component: resolve => require(['@/page/common/collect'], resolve),
	}, {
		path: '/wallet',
		name: 'wallet',
		meta: {
			title: '我的钱包',
			isLogin: true
		},
		component: resolve => require(['@/page/wallet/purse'], resolve),
	}, {
		path: '/bankcard',
		name: 'bankcard',
		meta: {
			title: '银行卡管理',
			isLogin: true
		},
		component: resolve => require(['@/page/bankcard/index'], resolve),
	}, {
		path: '/childcount',
		name: 'childcount',
		meta: {
			title: '子账号管理',
			isLogin: true
		},
		component: resolve => require(['@/page/childcount/index'], resolve),
	}, {
		path: '/wallet/recharge',
		name: 'recharge',
		meta: {
			title: '充值',
			isLogin: true
		},
		component: resolve => require(['@/page/wallet/recharge'], resolve),
	}, {
		path: '/purserecord',
		name: 'purserecord',
		meta: {
			title: '钱包明细',
			isLogin: true
		},
		component: resolve => require(['@/page/wallet/purserecord'], resolve),
	}]
}]